﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Poi.NET.poifs.storage
{
/**
 * An interface for persisting block storage of POIFS components.
 *
 * @author Marc Johnson (mjohnson at apache dot org)
 * Adapted by Josh Fornwall
 */

public interface BlockWritable
{

    /**
     * Write the storage to an OutputStream
     *
     * @param stream the OutputStream to which the stored data should
     *               be written
     *
     * @exception IOException on problems writing to the specified
     *            stream
     */

    public void writeBlocks(Stream stream);
}   // end public interface BlockWritable

}
